<?php
require_once('prepend.inc.php');
class index extends MFBForm{
	public $lnkSignUp = null;
	
	
	public function Form_Create(){	
		parent::Form_Create();	
		if(!is_null(MFBAuthDriver::User())){
			$this->Redirect('/admin/index.php');
		}
		$this->pnlToolBar = new MFBPublicToolBarPanel($this);
		//Get invite token
		$this->lnkSignUp = new MFBButton($this);
		$this->lnkSignUp->Text = 'Try it today';
		$this->lnkSignUp->AddCssClass('button');
		$this->lnkSignUp->AddCssClass('large');
		$this->lnkSignUp->Href = $this->GetCurrentServerUrl() . '/signUp.php';
	}	
}
index::Run('index');